/* 
 * File:   spin_box.hpp
 * Author: jolo
 *
 * Created on 5. Oktober 2011, 21:23
 */

#ifndef WIDGETS_SPIN_BOX_HPP
#define	WIDGETS_SPIN_BOX_HPP

#include <QtGui/QSpinBox>

namespace widgets
{

    class spin_box : public QSpinBox
    {
        Q_OBJECT
    public:
        spin_box(QWidget* p = 0);
        virtual ~spin_box();

        virtual void set(int v);

    signals:
        void changed(int v);
    
    public slots:
        virtual void on_value_change(int v);
        
    private:

    };
}

#endif	/* SPIN_BOX_HPP */

